Don't test datetime in locales with no encoding
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)
commitd1c7bd8d09c20735318faa52d641ec6ecdafab16
tree11cf2670bc63210f836041a920962e003b5024ae
parent34ebb2ef80cbd573ed08dcaf59c0915c4594d2f8
Don't test datetime in locales with no encoding

Some datetime tests run the test in every available locale.
If this set includes locales without an encoding (currently dsb_DE
and sah_RU), it fails due to Python bug
https://bugs.python.org/issue20088

Failure log
https://tests.reproducible-builds.org/debian/rbuild/buster/amd64/pandas_0.23.3+dfsg-3.rbuild.log.gz

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/20957
Forwarded: no

Gbp-Pq: Name skip_noencoding_locales.patch
pandas/_config/localization.py